package com.station.search.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: JT
 * @date: 2021/8/31
 * @Title:
 *      MybatisPlus 配置类
 */
@Configuration
public class MybatisPlusConfig {


    /**
     * 分页插件配置
     *
     * @return
     */
    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }
}
